package com.jfeat.am.module.wegou.services.persistence.model;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author admin
 * @since 2018-02-27
 */
@TableName("wg_restaurant_tag")
public class RestaurantTag extends Model<RestaurantTag> {

    private static final long serialVersionUID = 1L;

	private Long id;
    /**
     * 店铺ID
     */
	@TableField("store_id")
	private Long storeId;
    /**
     * 标签ID
     */
	@TableField("tag_id")
	private Long tagId;


	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getStoreId() {
		return storeId;
	}

	public void setStoreId(Long storeId) {
		this.storeId = storeId;
	}

	public Long getTagId() {
		return tagId;
	}

	public void setTagId(Long tagId) {
		this.tagId = tagId;
	}

	public static final String ID = "id";

	public static final String STORE_ID = "store_id";

	public static final String TAG_ID = "tag_id";

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

	@Override
	public String toString() {
		return "RestaurantTag{" +
			"id=" + id +
			", storeId=" + storeId +
			", tagId=" + tagId +
			"}";
	}
}
